export const PAGE_CODE = 'dcs-parts-customsClearance';
import {PAGE_TEN} from '../constants';
import {partContractInvoiceStatus} from '../Enum';

export const PERMISSIONS = {
    declare: 'declare',
    clearancet: 'clearancet'
};

export const DEFAULT_QUERY_OPTION = {
    dealerId: '',
    brandId: '',
    partSaleOrderCode: '',
    code: '',
    partInvoiceCode: '',
    status: undefined,
    invoicedDate: [],
    pageIndex: PAGE_TEN.index,
    pageSize: PAGE_TEN.size,
    sortField: 'code',
    isDesc: true,
};

export const invoiceStatus = partContractInvoiceStatus.pick([
    partContractInvoiceStatus.SAP返回,
    partContractInvoiceStatus.上传SAP,
    // partContractInvoiceStatus.发票生成,
    partContractInvoiceStatus.运单生成,
]);
